<template>
    <div>
        <van-nav-bar title="标题" />
        <van-search v-model="value" shape="round" background="#4fc08d" placeholder="请输入搜索关键词" @search="onSearch" />
        <van-tabs v-model:active="active">
            <van-tab title="标签 1">内容 1</van-tab>
            <van-tab title="标签 2">内容 2</van-tab>
            <van-tab title="标签 3">内容 3</van-tab>
            <van-tab title="标签 4">内容 4</van-tab>
        </van-tabs>
       

      
    </div>
  
</template>
<script setup>
import { ref} from 'vue';
import { floordataApi, catitemsApi } from '@/api/api';
import router from '@/router';
const onSearch = () => {
    router.push('/ym')
}
let floordata = ref([])
floordataApi().then(res => {
    console.log('楼层数据', res);
    floordata.value = res.data.message
})


</script>
<style>

</style>